package com.tmxk.jdbc02.entity;

/**
 * 部门类
 */
public class Dept {
//    DEPTNO                                    NOT NULL NUMBER(2)
//    DNAME                                              VARCHAR2(14)
//    LOC                                                VARCHAR2(13)
    private int deptNo;
    private String dName;
    private String loc;

    public int getDeptNo() {
        return deptNo;
    }

    public void setDeptNo(int deptNo) {
        this.deptNo = deptNo;
    }

    public String getdName() {
        return dName;
    }

    public void setdName(String dName) {
        this.dName = dName;
    }

    public String getLoc() {
        return loc;
    }

    public void setLoc(String loc) {
        this.loc = loc;
    }

    public Dept() {
    }

    public Dept(int deptNo, String dName, String loc) {
        this.deptNo = deptNo;
        this.dName = dName;
        this.loc = loc;
    }
}
